﻿<%@ Page Title="Log In" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeBehind="TU_UserArea.List.aspx.cs" Inherits="JOIN.Rights.Apps.TU_UserAreaList" %>
<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">    
		<!-- List.aspx -->
		<ajaxToolkit:ToolkitScriptManager ID="scriptmanager1" runat="server" />
		<table cellSpacing="0" cellPadding="0" width="95%" border="0">
		<tr>
		 <td>
		<table width="100%" class="InputTable">
				<tr>		<td height="25" width="30%" align="right" class="InputLabel">
		 UserID：</td>
        <td height="25" width="*" align="left">
                                <asp:TextBox id="txtUserID" runat="server" Width="200px"></asp:TextBox>
             
        </td>
         
						<td height="25" width="30%" align="right" class="InputLabel">
		 AreaID：</td>
        <td height="25" width="*" align="left">
                                <asp:TextBox id="txtAreaID" runat="server" Width="200px"></asp:TextBox>
             
        </td>
        </tr> 
				  
		</table>
		</td>
		</tr>
		<tr>
		  	<td align="center"><input type="button" id="btnQuery" value="查询" class="btn" /> &nbsp;&nbsp; <input type="button" id="btnAdd" value="新增" class="btn" />
		  	<Kevin:DialogWindow ID="window1" runat="server" ControlID="btnAdd" URL="TU_UserArea.aspx" 
                                    Height="400px" Width="600px">                
                </Kevin:DialogWindow>
		  	</td>
		  </tr>
		<tr><td>
		<Kevin:Grid ID="grid1" runat="server" GridCssClass="Grid" ServicePath="~/Services/BLLService.asmx" QueryMethod="GetUserAreaInfoList" AutoGetData="true"
            QueryControlID="btnQuery" PagerPlace="Both" PageSize="15">
			<Parameters>  
                <Kevin:QueryParameter ControlID="txtUserID" DataPropertyName="UserID" />
<Kevin:QueryParameter ControlID="txtAreaID" DataPropertyName="AreaID" />

            </Parameters>
            <DataFields>
            	<Kevin:DataBoundField FieldName="UserID" HeaderText="UserID" />
<Kevin:DataBoundField FieldName="AreaID" HeaderText="AreaID" />

            </DataFields>
		</Kevin:Grid>	
		</td></tr></table>
</asp:Content>